package com.yby6.face.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yby6.face.domain.SysUserFaceInfo;

import java.util.List;

/**
 * @program: yangbuyi-rbac
 * @ClassName: SysUserFaceInfoService
 * @create: 2022-04-24 01:15
 * @author: Yang Shuai
 * @since： JDK1.8
 * @SysUserFaceInfoService: ${desc}$
 **/
public interface SysUserFaceInfoService extends IService<SysUserFaceInfo> {


    int deleteByPrimaryKey (Integer id);

    int insert (SysUserFaceInfo record);

    SysUserFaceInfo selectByPrimaryKey (Integer id);

    int updateByPrimaryKey (SysUserFaceInfo record);

    void insertSelective (SysUserFaceInfo userFaceInfo);

    /**
     * 查询用户人脸识别
     *
     * @param id 用户人脸识别ID
     * @return 用户人脸识别
     */
    public SysUserFaceInfo selectSysUserFaceInfoById (Long id);

    /**
     * 查询用户人脸识别列表
     *
     * @param sysUserFaceInfo 用户人脸识别
     * @return 用户人脸识别集合
     */
    public List<SysUserFaceInfo> selectSysUserFaceInfoList (SysUserFaceInfo sysUserFaceInfo);

    /**
     * 新增用户人脸识别
     *
     * @param sysUserFaceInfo 用户人脸识别
     * @return 结果
     */
    public int insertSysUserFaceInfo (SysUserFaceInfo sysUserFaceInfo);

    /**
     * 修改用户人脸识别
     *
     * @param sysUserFaceInfo 用户人脸识别
     * @return 结果
     */
    public int updateSysUserFaceInfo (SysUserFaceInfo sysUserFaceInfo);

    /**
     * 批量删除用户人脸识别
     *
     * @param ids 需要删除的用户人脸识别ID
     * @return 结果
     */
    public int deleteSysUserFaceInfoByIds (Long[] ids);

    /**
     * 删除用户人脸识别信息
     *
     * @param id 用户人脸识别ID
     * @return 结果
     */
    public int deleteSysUserFaceInfoById (Long id);
}
